Skip to main content

Get Chrome Alert Message

AutomatR.Windows.Activities.GetChromeAlertMessage

The "Get Chrome Alert Message" activity in AutomatR for Windows UI Automation retrieves the alert message popup displayed on the Chrome browser. This activity is useful when you need to capture and process alert messages generated by web applications.

Properties

NameDescription
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the activity. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
MessageOutputs the alert message retrieved from the Chrome browser. String variables to store the alert message.

How to use:

  1. Drag and drop the "Get Chrome Alert Message" activity onto the workflow.
  2. Optionally, configure the delay setting.
  3. Execute the workflow to capture the alert message from the Chrome browser.

Example: Consider an example where the "Get Chrome Alert Message" activity is used to retrieve and store an alert message:

Get Chrome Alert Message:
Display Name: "Capture Alert Message"
Delay: 2
Message: alertMessage

In this example, the activity waits for 2 seconds and then retrieves the alert message displayed on the Chrome browser. The obtained message is stored in the "alertMessage" variable for further use in the workflow.